package sg.edu.nus.iss.vmcs.customer;

import java.awt.Panel;

import sg.edu.nus.iss.vmcs.store.StoreItem;

public abstract class ProductSelectionBox extends Panel {

	/**
	 * Generated serial version uid
	 */
	private static final long serialVersionUID = -5297910455833764605L;

	/**
	 * This operation will activate or deactivate the product selection buttons.
	 * 
	 * @param active
	 *            Boolean to indicate whether is active
	 */
	public abstract void setActive(boolean active);	
	
	/**
	 * Update a product brand based on the values received.
	 * 
	 * @param brand
	 *            The brand identifier
	 * @param storeItem
	 *            The store item
	 */
	public abstract void update(int brand, StoreItem storeItem);

	/**
	 * Get the product identifiers
	 * 
	 * @return The product identifiers
	 */
	public abstract int[] getProductIdentifiers();
	
}
